import request from '@/utils/request'

// 查询测试DemoCopy1列表
export function listTDemoCopy1(query) {
  return request({
    url: '/demo/TDemoCopy1/list',
    method: 'get',
    params: query
  })
}

// 查询测试DemoCopy1详细
export function getTDemoCopy1(id) {
  return request({
    url: '/demo/TDemoCopy1/' + id,
    method: 'get'
  })
}

// 新增测试DemoCopy1
export function addTDemoCopy1(data) {
  return request({
    url: '/demo/TDemoCopy1',
    method: 'post',
    data: data
  })
}

// 修改测试DemoCopy1
export function updateTDemoCopy1(data) {
  return request({
    url: '/demo/TDemoCopy1',
    method: 'put',
    data: data
  })
}

// 删除测试DemoCopy1
export function delTDemoCopy1(id) {
  return request({
    url: '/demo/TDemoCopy1/' + id,
    method: 'delete'
  })
}
